<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:p="http://primefaces.org/ui">

<h:head>

	<title>#{message['label.gerenciadorPessoalJavaGynLogin']}</title>

	<link rel="shortcut icon" type="image/x-icon" href="#{facesContext.externalContext.requestContextPath}/resources/img/favicon.ico" />

	<h:outputStylesheet library="css" name="estilo.css" />

</h:head>

<h:body>

	<p:dialog visible="true" modal="true" closable="false" resizable="false" draggable="false" header="#{message['label.gerenciadorPessoalJavaGynLogin']}"
		styleClass="grid-login login_panel" height="200" width="400">

		<h:form id="frm">

			<p:focus for="usuario" />

			<div align="right" style="font-weight: bold;">

				<h:panelGrid columns="2">

					<p:outputLabel value="#{message['label.usuario']}" for="usuario" />

					<p:inputText id="usuario" placeholder="#{message['label.usuario']}" size="15" value="#{efetuarLoginController.loginForm.nomeUsuario}" required="true"
						requiredMessage="#{message['msg.informeOUsuario']}!" />

					<p:outputLabel value="#{message['label.senha']}" for="senha" />

					<p:password id="senha" placeholder="#{message['label.senha']}" size="15" value="#{efetuarLoginController.loginForm.senha}" required="true"
						requiredMessage="#{message['msg.infomeASenha']}!" />

					<p:outputLabel />

					<p:commandButton value="Acessar" action="#{efetuarLoginController.login}" />

				</h:panelGrid>

			</div>

			<p:messages showDetail="true" showSummary="false" autoUpdate="true" closable="true" />

		</h:form>

	</p:dialog>

</h:body>

</html>